package com.zy.design.pattern.proxy.base;

/**
 * @author zhaoyi
 * @date 2021/4/8 15:26
 */
public class UserImp implements IUser {
    @Override
    public void sayHello(String name) {
        System.out.println("我是最基础的类,你好"+name);
    }

    @Override
    public String getName() {
        return this.getClass().toString();
    }
}
